#-------------------------------------------------
#
# Project created by QtCreator 2023-06-29T22:10:29
#
#-------------------------------------------------

# Qt版本设置为5.15.2
QT       += core gui
QT_VERSION = 5.15.2

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = GanttChart
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# 禁用Qt 5.15.2之前的已弃用API
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050F02    # 0x050F02 对应 Qt 5.15.2

# C++标准升级至C++17
CONFIG += c++17

SOURCES += \
        canttchartscene.cpp \
        canttchartview.cpp \
        cantttimebaritem.cpp \
        main.cpp \
        mainwindow.cpp

HEADERS += \
        canttchartscene.h \
        canttchartview.h \
        cantttimebaritem.h \
        definition.h \
        mainwindow.h

FORMS += \
        mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    img.qrc
